package kanbing;

public class Special extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            try {
                Thread.sleep(2000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("第"+(i+1)+"个特需号病人");
        }
        System.out.println(Thread.currentThread().getName()+"检查完毕------------------------");
    }
}
